Region Fill
Fill connected pixel with colors.
Node Data | |
|---|---|
Display name | |
Region Fill | |
Internal name | |
Node_Region_Fill | |
Inheritances | |
| Node_Processor | |
| Node_Region_Fill | |
Inputs | |
Surfaces | |
surface |
Surface In |
surface |
Mask |
Filter | |
bool |
Color Filter |
color |
Target Color |
bool |
Inner Only |
int |
Expands |
Fill | |
slider |
Threshold |
enum |
Fill Type |
enum |
Source |
palette |
Fill Palette |
gradient |
Fill Gradient |
surface |
Color Map |
anchor |
Sample Position |
bool |
Fill |
surface |
Texture Map |
Transform | |
rotRange |
Random Rotation |
Rendering | |
enum |
Draw Original |
bool |
Output Index |
Outputs | |
surface |
Surface Out |

Fill region of the same color with a new color.
Properties
| Filter | |
| Color Filter | Fill only to some selected color and treat other color as transparent. |
| Target Color | Color to filter. |
| Expands | Expands region after filling. |
| Fill | |
| Threshold | How close the color has to be to be consider the same region. |
| Fill Type | Method for selecting color to fill. |
| Rendering | |
| Draw Original | Whether to draw the original image under, over the fill pixel, or not at all. |
Commit History
| 1.14.7 |
|
|---|---|
| 1.21.2.009 |
|
Related Links
- Base Code: /scripts/node_region_fill/node_region_fill.gml
- Shader [sh_region_fill_inner]: /shaders/sh_region_fill_inner/sh_region_fill_inner.fsh
- Shader [sh_region_fill_coordinate_all]: /shaders/sh_region_fill_coordinate_all/sh_region_fill_coordinate_all.fsh
- Shader [sh_region_fill_coordinate]: /shaders/sh_region_fill_coordinate/sh_region_fill_coordinate.fsh
- Shader [sh_region_fill_border]: /shaders/sh_region_fill_border/sh_region_fill_border.fsh
- Shader [sh_region_fill_init]: /shaders/sh_region_fill_init/sh_region_fill_init.fsh
- Shader [sh_region_fill_coordinate_all_init]: /shaders/sh_region_fill_coordinate_all_init/sh_region_fill_coordinate_all_init.fsh
- Shader [sh_region_fill_coordinate_init]: /shaders/sh_region_fill_coordinate_init/sh_region_fill_coordinate_init.fsh
- Shader [sh_region_fill_inner_remove]: /shaders/sh_region_fill_inner_remove/sh_region_fill_inner_remove.fsh